import { baseRequest } from '@/utils/request'
const request = (url, ...arg) => baseRequest(`/api/detect/${url}`, ...arg)
/**
 * 单页
 *
 * @author mh
 * @data
 */
export default {
    //质量管理检验方案测试信息
    protocolAdd(data) {
        return request('addprotocol', data)
    },
    protocolList(data) {
        return request('pageprotocol', data, 'get')
    },
    protocolDelete(data) {
        return request('deleteprotocol', data)
    },
    protocolEdit(data) {
        return request('edittypeprotocol', data)
    },

} 